package com.qf.sale.service.impl;

import com.qf.lw.mapper.CustomerMapper;
import com.qf.lw.pojo.AdminPojo;
import com.qf.lw.pojo.CustomerPojo;
import com.qf.sale.service.ICustomerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CustomerServiceImpl implements ICustomerService {

    @Autowired
    CustomerMapper customerMapper;
    @Override
    public CustomerPojo login(CustomerPojo customerPojo) {

         return  customerMapper.login(customerPojo);
    }
    @Override
    public CustomerPojo loregiest(CustomerPojo customerPojo) {

        return  customerMapper.loregiest(customerPojo);
    }

    @Override
    public void regiest(CustomerPojo customerPojo) {

        customerMapper.regiest(customerPojo);


    }

    @Override
    public void updatecus(CustomerPojo customerPojo) {
        customerMapper.updatecus(customerPojo);
    }
}
